package com.hp.bean;

public class MasterAddress {
    private Integer id;

    private String lng;

    private String lat;

    private String mid;

    private String status;

    //多对一查询 需要实体类进行承接对象
    private Master master;

    public Master getMaster() {
        return master;
    }

    public void setMaster(Master master) {
        this.master = master;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getLng() {
        return lng;
    }

    public void setLng(String lng) {
        this.lng = lng == null ? null : lng.trim();
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat == null ? null : lat.trim();
    }

    public String getMid() {
        return mid;
    }

    public void setMid(String mid) {
        this.mid = mid == null ? null : mid.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    @Override
    public String toString() {
        return "Masteraddress{" +
                "id=" + id +
                ", lng='" + lng + '\'' +
                ", lat='" + lat + '\'' +
                ", mid='" + mid + '\'' +
                ", status='" + status + '\'' +
                ", master=" + master +
                '}';
    }
}